<%@ Page Language="C#" MasterPageFile="~/Layout.Master" AutoEventWireup="true" 
    CodeBehind="SingleWorkOrder.aspx.cs" Inherits="Headspring.Training.WebUI.SingleWorkOrder" 
    Title="Edit Work Order" %>
<asp:Content ID="Content3" ContentPlaceHolderID="Main" runat="server">
<h3 style="text-align:center;">Work Order # <%=WorkOrder.Number %> (<%=WorkOrder.FriendlyStatus %>)</h3>
<asp:HiddenField ID="WorkOrderNumber" runat="server" />
<table border="0" cellpadding="2" width="100%">
    <tr>
        <td class="label">Creator:</td><td class="formfield"><%=Encode(WorkOrder.Creator.GetFullName()) %></td>
    </tr>
    <tr>
        <td class="label">Assigned To:</td><td class="formfield"><asp:DropDownList ID="ddlAssignee" runat="server" /></td>
    </tr>
    <tr>
        <td class="label">Title:</td><td class="formfield"><asp:TextBox ID="txtTitle" runat="server" /></td>
    </tr>
    <tr>
        <td class="label">Description:</td><td class="formfield"><asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" Rows="5" /></td>
    </tr>
    <tr>
        <td colspan="2">created: <%=WorkOrder.CreatedDate.ToString() %> completed: <%=WorkOrder.CompletedDate.ToString() %></td>
    </tr>
    <tr>
        <td colspan="2" style="width:100%;padding:5px;background-color:yellow; text-align:right;" nowrap>
            <asp:PlaceHolder ID="actionButtonsPane" runat="server" />
        </td>
    </tr>
</table>

</asp:Content>
